#import "UnwindNavigateView.h"


@implementation UnwindNavigateView



- (void)setElevate:(UnwindNavigateModel *)elevate {
	_elevate = elevate;

	//: 配置cell的UI



	self.braveLabel.text = elevate.fractalSymphony;

	NSString *yearningXylophone = [NSString stringWithFormat:@"%ld", elevate.hopeCurious];
	self.lushLeapfrogLabel.text = yearningXylophone;



	[self.hammerImageView sd_setImageWithURL:[NSURL URLWithString:elevate.fractalSymphony] placeholderImage:nil];



}
- (UILabel *)braveLabel {
	if (!_braveLabel) {
	
        _braveLabel = [[UILabel alloc] initWithFrame:CGRectZero];
        _braveLabel.text = @"label_1";
        _braveLabel.font = [UIFont systemFontOfSize:18 weight:UIFontWeightRegular];
        _braveLabel.textColor = [UIColor colorWithRed:18/255.0 green:106/255.0 blue:141/255.0 alpha:0.5];
        _braveLabel.textAlignment = NSTextAlignmentCenter;
        _braveLabel.numberOfLines = 3;
	}
	return _braveLabel;
}

- (UILabel *)lushLeapfrogLabel {
	if (!_lushLeapfrogLabel) {
	
        _lushLeapfrogLabel = [[UILabel alloc] initWithFrame:CGRectZero];
        _lushLeapfrogLabel.frame = CGRectMake(31, 3, 177, 167);
        _lushLeapfrogLabel.text = @"label_2";
        _lushLeapfrogLabel.font = [UIFont systemFontOfSize:14 weight:UIFontWeightRegular];
        _lushLeapfrogLabel.textColor = [UIColor colorWithRed:165/255.0 green:114/255.0 blue:35/255.0 alpha:0.8];
        _lushLeapfrogLabel.textAlignment = NSTextAlignmentLeft;
        _lushLeapfrogLabel.numberOfLines = 0;
	}
	return _lushLeapfrogLabel;
}

//: 设置dreamSymphonyMelody的圆角
+ (void)wonderment:(UIImageView *)anticipateTransformLeapfrog jewelFlourish:(CGFloat)infiniteZenithMerge {
	anticipateTransformLeapfrog.layer.cornerRadius = infiniteZenithMerge;
	anticipateTransformLeapfrog.layer.masksToBounds = YES;
}

//: 设置_amberImageView的圆角
+ (void)mingleIntrepid:(UIImageView *)artistry leapCascadePicture:(CGFloat)zestfulQuirkOpulent {
	artistry.layer.cornerRadius = zestfulQuirkOpulent;
	artistry.layer.masksToBounds = YES;
}

- (UIImageView *)amberImageView {
	if (!_amberImageView) {
	
        _amberImageView = [[UIImageView alloc] init];
        _amberImageView.contentMode = UIViewContentModeScaleAspectFill;
        _amberImageView.clipsToBounds = YES;
        //: UIImageView的骚操作 充数
        [UnwindNavigateView mingleIntrepid:_amberImageView leapCascadePicture:3];
        _amberImageView.size = CGSizeMake(107, 170);
        _amberImageView.left = 27;
        _amberImageView.top = 31;
        UIImage *zenith = [UIImage imageNamed:@"images/image_7.png"];
        if (zenith) {
	        _amberImageView.image = zenith;
        }
	}
	return _amberImageView;
}

- (UITextView *)riddleLeapTextView {
	if (!_riddleLeapTextView) {
	
        _riddleLeapTextView = [[UITextView alloc] initWithFrame:CGRectZero];
	}
	return _riddleLeapTextView;
}

- (void)laughterSubViews {

    //: 描述_0
    UIImageView *clarityAmber = [[UIImageView alloc] init];
    clarityAmber.contentMode = UIViewContentModeScaleAspectFill;
    clarityAmber.clipsToBounds = YES;
    clarityAmber.layer.cornerRadius = 18;
    clarityAmber.layer.masksToBounds = YES;
    UIImage *universeBreezeJoyful = [UIImage imageNamed:@"images/image_0.png"];
    if (universeBreezeJoyful) {
	    clarityAmber.image = universeBreezeJoyful;
    }
    self.thriveImageView = clarityAmber;
    [self addSubview:clarityAmber];
	[self.thriveImageView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(151);
		make.height.mas_equalTo(126);
	}];

	//: 描述_1
	[self addSubview:self.braveLabel];
	[self.braveLabel mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(56);
		make.height.mas_equalTo(193);
		make.top.equalTo(@(16));
		make.bottom.equalTo(@(27));
	}];

	//: 描述_2
	[self addSubview:self.lushLeapfrogLabel];


    //: 描述_3
    UIImageView *dreamSymphonyMelody = [UIImageView new];
    dreamSymphonyMelody.contentMode = UIViewContentModeScaleAspectFill;
    dreamSymphonyMelody.clipsToBounds = YES;
    //: UIImageView的骚操作 充数
    [UnwindNavigateView wonderment:dreamSymphonyMelody jewelFlourish:8];
    dreamSymphonyMelody.frame = CGRectMake(39, 40, 190, 108);
    UIImage *feast = [UIImage imageNamed:@"images/image_3.png"];
    if (feast) {
	    dreamSymphonyMelody.image = feast;
    }
    self.pathwayVividQuenchImageView = dreamSymphonyMelody;
    [self addSubview:dreamSymphonyMelody];


    //: 描述_4
    UIView *dreamerRebirth = [UIView new];
    dreamerRebirth.frame = CGRectMake(40, 20, 180, 62);
    self.motionKindredZealView = dreamerRebirth;
    [self addSubview:dreamerRebirth];


    //: 描述_5
    UIImageView *vortexPeaceful = [[UIImageView alloc] init];
    vortexPeaceful.contentMode = UIViewContentModeScaleAspectFill;
    vortexPeaceful.clipsToBounds = YES;
    vortexPeaceful.layer.cornerRadius = 0;
    vortexPeaceful.layer.masksToBounds = YES;
    UIImage *melodic = [UIImage imageNamed:@"images/image_5.png"];
    if (melodic) {
	    vortexPeaceful.image = melodic;
    }
    self.hammerImageView = vortexPeaceful;
    [self addSubview:vortexPeaceful];
	[self.hammerImageView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(138);
		make.height.mas_equalTo(150);
		make.top.equalTo(@(24));
		make.bottom.equalTo(@(10));
	}];


    //: 描述_6
    self.unwindGlistenPioneerTextView = [UITextView new];
    [self addSubview:self.unwindGlistenPioneerTextView];
	[self.unwindGlistenPioneerTextView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(186);
		make.height.mas_equalTo(92);
	}];

	//: 描述_7
	[self addSubview:self.amberImageView];

	//: 描述_8
	[self addSubview:self.riddleLeapTextView];
	[self.riddleLeapTextView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(30);
		make.height.mas_equalTo(184);
		make.top.equalTo(@(14));
	}];


    //: 描述_9
    UITextView *terrainInstinctQuiver = [UITextView new];
    self.vowImaginationHoverTextView = terrainInstinctQuiver;
    [self addSubview:terrainInstinctQuiver];
	[self.vowImaginationHoverTextView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(59);
		make.height.mas_equalTo(64);
		make.top.equalTo(@(10));
	}];
}


@end